package com.qixin.modules.ea.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qixin.modules.ea.entity.EaBookDetail;
import com.qixin.modules.ea.entity.EaCommunications;
import com.qixin.modules.ea.vo.CommunicationPageVo;
import com.qixin.modules.eaBasic.vo.EaTaskVo;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;
import java.util.Map;

/**
 * @Description: ea_communications
 * @Author: qixin-boot
 * @Date:   2021-11-03
 * @Version: V1.0
 */
public interface IEaCommunicationsServiceCopy extends IService<EaCommunications> {

    Map<String, Object> selectById(String id);

    Map<String, Object> audit(EaTaskVo eaTaskVo);

    Map<String, Object> delMain(String id);

    Map<String, Object> updateMain(EaCommunications communications, List<EaBookDetail> items);

    Map<String, Object> saveMain(EaCommunications communications, List<EaBookDetail> items);

    Map<String, Object> list(CommunicationPageVo communicationPageVo);

    EaCommunications queryById(String billId);

    /**
     * 批量删除一对多
     */
    public void delBatchMain (Collection<? extends Serializable> idList);
}
